package com.zzptc.shop.Factory;

import com.zzptc.shop.dao.IDAO;

public class DaoFactoryImp implements IFactory {
    //饿汉式
    private static  DaoFactoryImp daoFactoryImp=new DaoFactoryImp();
    private DaoFactoryImp(){}
    public static DaoFactoryImp getInstance(){
        return daoFactoryImp;
    }
    @Override
    public IDAO createDAO(String type) throws Exception {


        return null;
    }
}
